# 装饰器修饰的函数有参数

def decotator(func):
    print('进入装饰器')
    def inner(*args,**kwargs):
        print('inner---->函数')
        res = func(*args,**kwargs)
        print(res)    
    print('装饰结束')
    return inner

@decotator
def f(num,a=23):
    print('f------>','我是f函数')
    num += 10
    print(a)
    return num

f(12)
